package com.xebia.eshop.web.rest;

import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.xebia.eshop.services.books.BookService;

@Path("hello")
public class HelloController {
	@Inject
	private BookService bookService;
	
	@GET
	@Produces(MediaType.TEXT_PLAIN)
	public String hello() {
		bookService.getBooksList();
		return "hello";
	}
}
